



load('D:\Users\zhaga\Documents\MATLAB\AFOSR_Data\Subjects\SubFolderList.mat')



for i = 1:length(SubFolderList(:,3))
    SubNum = SubFolderList{i,3};
    %HOME = strcat('D:\Users\zhaga\Documents\MATLAB\AFOSR_Data\Subjects\Sub_0', num2str(SubNum));
  % if(i == 65 | i==11 | i==14 | i == 16  | i == 18)
    if(i == 65)% | i==11 | i==14 | i == 16  | i == 18)

       continue
   end
    
    for j = 1:2
       
        try
            %[SD, SaccDataVarName] = FindSacc_Fix(SubNum,j);
            %SacPop{i,j} = SD;
             %[A  ] = makeMentalStates(SubNum, j);
             [Pop_SaccData{i,j} SaccDataVarNames Pop_FixData{i,j} FixDataVarNames Blinks{i,j}] = FindSacc_Fix(SubNum,j);
        
         catch
             disp(['Didn''t Work!!!!!',' ',num2str(SubNum), ' ', int2str(j)] )
             disp(['........................................................'])
            continue;
        end
            
    end
end
